<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use \yii\helpers\Url;

/* @var $class array */
/* @var $this yii\web\View */
/* @var $model backend\models\Student */
/* @var $form yii\widgets\ActiveForm */
?>
<div class = "admin-user-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field( $model , 'is_pc' )->RadioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_mobile' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_audit' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_check_project' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_edit_project' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_edit_notice' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>

    <?= $form->field( $model , 'is_create_account' )->radioList( ['1' => '能' , '2' => '不能' ] ) ?>



    <div class = "form-group">
        <?= Html::submitButton( $model->isNewRecord ? '创建' : '更新' , [ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary' ] ) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>


